package com.shiku.imserver.common.ws;

import com.shiku.imserver.common.ISessionContext;
import com.shiku.imserver.common.ImSessionContext;
import com.shiku.imserver.common.http.HttpRequest;
import com.shiku.imserver.common.http.HttpResponse;
import java.util.List;

public class WsSessionContext extends ImSessionContext implements ISessionContext {
    private HttpRequest handshakeRequest = null;
    private HttpResponse handshakeResponse = null;
    private boolean isHandshaked = false;
    private List<byte[]> lastParts = null;
    private String token = null;

    public HttpRequest getHandshakeRequest() {
        return this.handshakeRequest;
    }

    public HttpResponse getHandshakeResponse() {
        return this.handshakeResponse;
    }

    public List<byte[]> getLastParts() {
        return this.lastParts;
    }

    public String getToken() {
        return this.token;
    }

    public boolean isHandshaked() {
        return this.isHandshaked;
    }

    public void setHandshaked(boolean isHandshaked2) {
        this.isHandshaked = isHandshaked2;
    }

    public void setHandshakeRequest(HttpRequest handshakeRequest2) {
        this.handshakeRequest = handshakeRequest2;
    }

    public void setHandshakeResponse(HttpResponse handshakeResponse2) {
        this.handshakeResponse = handshakeResponse2;
    }

    public void setLastParts(List<byte[]> lastParts2) {
        this.lastParts = lastParts2;
    }

    public void setToken(String token2) {
        this.token = token2;
    }
}
